package Multithreading.Thread.ChaosBegins;

//单线程
public class SingleThreadSimple {
    public static void main(String[] args) {
        DataHolder dataHolder = new DataHolder();
        ChangeData increase = new ChangeData(2,1000000,dataHolder);
        increase.run();

        ChangeData decrease = new ChangeData(-2,1000000,dataHolder);
        decrease.run();
    }
}
